package com.wind.service.impl;

import com.wind.dto.req.CounselorQueryConditionReqDto;
import com.wind.entity.Counselor;
import com.wind.dao.CounselorMapper;
import com.wind.service.ICounselorService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 咨询师表 服务实现类
 * </p>
 *
 * @author xiao
 * @since 2021-05-21
 */
@Service
public class CounselorServiceImpl extends ServiceImpl<CounselorMapper, Counselor> implements ICounselorService {

    @Override
    public List<Counselor> byCondition(CounselorQueryConditionReqDto counselorQueryConditionReqDto) {
        return baseMapper.byCondition(counselorQueryConditionReqDto);
    }
}
